package com.bcxk.service.feignService;

import com.bcxk.entity.dto.User;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("User")
public interface  FeignService {

    @RequestMapping("login")
    User getUser( String userName , String passWord);
    //登录 通过手机号码
    @RequestMapping("loginPhone")
    User getUserBy( String phone );

    //用户注册
    @RequestMapping("signin")
    User signin( String userName , String passWord);

    //用户验证 验证邮箱 和手机号码
    @RequestMapping("verify")
    User verify( String userName );

}
